<?php

// 分销钩子
$distributionHooks = [

    //注册后
    'xykeep_register_after' => [
        'addons\xykeep\listener\Distribution'
    ],

    //分享后
    'xykeep_share_after' => [
        'addons\xykeep\listener\Distribution'
    ],

    //订单支付成功后
    'xykeep_order_payed_after' => [
        'addons\xykeep\listener\Distribution'
    ],

    //订单退款
    'xykeep_order_refund_after' => [
        'addons\xykeep\listener\RefundOrder'
    ],

    //急招未被录用的人员全部退费
    'xykeep_job_refund_all' => [
        'addons\xykeep\listener\RefundOrder'
    ],

    //教师星级更变
    'teacher_star_change' => [
        'addons\xykeep\listener\Teacher'
    ],

    //老师审核通过
    'teacher_to_pass' => [
        'addons\xykeep\listener\Teacher'
    ]
];

return $distributionHooks;
